package com.xiyu.service.vo.restaurant.recipe;

import com.xiyu.service.vo.restaurant.recipe.baseVO.RestaurantRecipeBase;
import com.xiyu.service.vo.restaurant.recipe.baseVO.RestaurantRecipeDetailBase;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.hibernate.validator.constraints.Length;
import jakarta.validation.Valid;
import com.xiyu.service.enums.common.CommonStatusEnum;
import com.xiyu.service.framework.validation.InEnum;

@Schema(description = "更新食谱")
@Data
public class RecipeUpdateInput extends RestaurantRecipeBase {

    @Schema(description = "食谱详情")
    private List<detail> details;

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "食谱详情")
    @Data
    @Valid
    public static class detail extends RestaurantRecipeDetailBase {

        @Schema(description = "主键ID")
        private Long id;

        @Schema(description = "操作方式")
        private String operateType;
    }

}